import request from '@/axios'

import { AppCustomRouteRecordRaw } from '@/types/router'

export const getMenus = (): Promise<IResponse<AppCustomRouteRecordRaw[]>> => {
  return request.get({ url: '/api/permission/menus' })
}
